All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- addAttributeDictionary(Dictionary).
Method in class sun.servlet.http.HttpRequest
- Stores an attribute dictionary, to be consulted for request
attributes.
- authType.
Variable in class sun.servlet.http.HttpRequest
- The authentication type for the request.
- avail.
Variable in class sun.servlet.http.HttpServer
- The number of available handlers.
- available().
Method in class sun.servlet.http.HttpInputStream
- Returns the number of bytes that can be read without blocking.
- backlog.
Variable in class sun.servlet.http.HttpServer
- The backlog parameter to use when creating the server socket.
- BASE_DAY_OF_WEEK.
Static variable in class sun.servlet.http.HttpDate
-
- buf.
Variable in class sun.servlet.http.HttpInputStream
- The input buffer.
- buf.
Variable in class sun.servlet.http.HttpOutputStream
- The output buffer.
- buf.
Variable in class sun.servlet.http.HttpServerHandler
- Temporary buffer for file requests.
- bufHeader.
Variable in class sun.servlet.http.HttpResponse
- The buffer used to set the header buffer.
- bytes.
Variable in class sun.servlet.http.MessageBytes
- The message bytes.
- check(int).
Method in class sun.servlet.http.HttpOutputStream
- Checks the output stream for a pending IOException that needs to be
thrown, a content length that has been exceeded, or observers that
need to be notified.
- classes.
Variable in class sun.servlet.ServletLoader
-
- clear().
Method in class sun.servlet.http.MimeHeaders
- Clears all header fields.
- clone().
Method in class sun.servlet.http.Cookie
- Returns a copy of this object.
- close().
Method in class sun.servlet.http.HttpInputStream
- Closes the input stream.
- close().
Method in class sun.servlet.http.HttpOutputStream
- Closes the servlet output stream.
- committed.
Variable in class sun.servlet.http.HttpOutputStream
- Indicated whether the buffer has been written to the stream
- con.
Variable in class sun.servlet.http.HttpRequest
- The servlet connection for the request.
- con.
Variable in class sun.servlet.http.HttpResponse
- The connection for this servlet.
- connections.
Variable in class sun.servlet.http.HttpServer
- The queue of pending connections.
- containsHeader(String).
Method in class sun.servlet.http.HttpResponse
- Returns true if the specified header field is contained in this response
otherwise returns false.
- containsHeader(String).
Method in interface javax.servlet.http.HttpServletResponse
- Returns true if the response message header has a field with
the specified name.
- containsHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Returns true if the specified field is contained in the header,
otherwise returns false.
- contentLenSet.
Variable in class sun.servlet.http.HttpResponse
-
- Cookie(String, String).
Constructor for class sun.servlet.http.Cookie
- Defines a cookie with an initial name/value pair.
- count.
Variable in class sun.servlet.http.HttpInputStream
- The current number of bytes in the buffer.
- count.
Variable in class sun.servlet.http.HttpOutputStream
- The current number of bytes in the buffer.
- DATELEN.
Static variable in class sun.servlet.http.HttpDate
- Length of RFC 1123 format date string as written by getBytes().
- dateValue.
Variable in class sun.servlet.http.MimeHeaderField
- The header field Date value.
- days.
Static variable in class sun.servlet.http.HttpDate
- Days of the week.
- DAYS_PER_LEAP.
Static variable in class sun.servlet.http.HttpDate
-
- DAYS_PER_YEAR.
Static variable in class sun.servlet.http.HttpDate
-
- daysBeforeMonth.
Static variable in class sun.servlet.http.HttpDate
- Number of days in a year before a given month.
- daysBeforeMonth(int, int).
Static method in class sun.servlet.http.HttpDate
- Returns number of days before the specified month of the specified
year.
- daysBeforeMonthLeap.
Static variable in class sun.servlet.http.HttpDate
- Number of days in a leap year before a given month.
- daysInMonth.
Static variable in class sun.servlet.http.HttpDate
- Number of days in the month.
- daysInMonth(int, int).
Static method in class sun.servlet.http.HttpDate
- Returns number of days in the specified month of the specified
year.
- daysInMonthLeap.
Static variable in class sun.servlet.http.HttpDate
- Number of days in the month for a leap year.
- deleteCookie(HttpServletResponse).
Method in class sun.servlet.http.Cookie
- Deletes this cookie, using the given HTTP response to convey
the deletion request to the user agent.
- destroy().
Method in class javax.servlet.GenericServlet
-
Destroys the servlet, cleaning up whatever resources are being
held, and logs the destruction in the servlet log file.
- destroy().
Method in interface javax.servlet.Servlet
- Cleans up whatever resources are being held (e.g., memory, file
handles, threads) and makes sure that any persistent state is
synchronized with the servlet's current in-memory state.
- dir.
Variable in class sun.servlet.ServletLoader
-
- documentDir.
Variable in class sun.servlet.http.HttpServer
- The document root directory for serving files.
- doGet(HttpServletRequest, HttpServletResponse).
Method in class javax.servlet.http.HttpServlet
- Performs the HTTP GET operation.
- doPost(HttpServletRequest, HttpServletResponse).
Method in class javax.servlet.http.HttpServlet
-
Performs the HTTP POST operation.
- dump(PrintStream).
Method in class sun.servlet.http.HttpRequest
- Print debug information.
- dump(PrintStream).
Method in class sun.servlet.http.MimeHeaders
- Dumps current headers to specified PrintStream for debugging.
- equals(byte[], int, int).
Method in class sun.servlet.http.MessageBytes
- Compares the message bytes to the specified subarray of bytes.
- equals(byte[], int, int).
Method in class sun.servlet.http.MessageString
- Compares this message string to the specified subarray of bytes.
- equals(String).
Method in class sun.servlet.http.MessageBytes
- Compares the message bytes to the specified String object.
- equals(String).
Method in class sun.servlet.http.MessageString
- Compares this message string to the specified String object.
- equalsIgnoreCase(byte[], int, int).
Method in class sun.servlet.http.MessageBytes
- Compares the message bytes to the specified subarray of bytes.
- equalsIgnoreCase(byte[], int, int).
Method in class sun.servlet.http.MessageString
- Compares this message string to the specified subarray of bytes.
- equalsIgnoreCase(String).
Method in class sun.servlet.http.MessageBytes
- Compares the message bytes to the specified String object.
- equalsIgnoreCase(String).
Method in class sun.servlet.http.MessageString
- Compares this message string to the specified String object.
- except.
Variable in class sun.servlet.http.HttpOutputStream
- If set then an I/O exception is pending.
- fill().
Method in class sun.servlet.http.HttpInputStream
- Fills input buffer with more bytes.
- find(String).
Method in class sun.servlet.http.MimeHeaders
- Finds and returns a header field with the given name.
- finish().
Method in class sun.servlet.http.HttpInputStream
- Finishes reading the request without closing the underlying stream.
- finish().
Method in class sun.servlet.http.HttpOutputStream
- Finishes the current response.
- finish().
Method in class sun.servlet.http.HttpRequest
- Finishes the current request.
- finish().
Method in class sun.servlet.http.HttpResponse
- Finishes the response.
- flush().
Method in class sun.servlet.http.HttpOutputStream
- Flushes the output stream.
- flushBytes().
Method in class sun.servlet.http.HttpOutputStream
- Flushes the output stream bytes.
- GenericServlet().
Constructor for class javax.servlet.GenericServlet
- The default constructor does no work.
- getAll(byte[], int).
Method in class sun.servlet.http.MimeHeaders
-
Get the current header fields in the byte array buf.
- getAttribute(String).
Method in class sun.servlet.http.HttpRequest
- Returns an attribute of the request for the specified key name.
- getAttribute(String).
Method in class sun.servlet.http.HttpServer
- Returns an attribute of the server for the specified key name.
- getAttribute(String).
Method in interface javax.servlet.ServletContext
- Returns the value of the named attribute of the network service,
or null if the attribute does not exist.
- getAttribute(String).
Method in interface javax.servlet.ServletRequest
-
Returns the value of the named attribute of the request, or
null if the attribute does not exist.
- getAuthType().
Method in class sun.servlet.http.HttpRequest
- Returns the authentication scheme of the request, or null if none.
- getAuthType().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the authentication scheme of the request, or null if none.
- getBytes().
Method in class sun.servlet.http.MessageBytes
- Returns the message bytes.
- getBytes(byte[], int).
Method in class sun.servlet.http.MessageBytes
- Puts the message bytes in buf starting at buf_offset.
- getBytes(byte[], int).
Method in class sun.servlet.http.MessageString
- Get the bytes of this message string in buf starting at buf_offset.
- getBytes(byte[], int).
Method in class sun.servlet.http.MimeHeaderField
- Put the bytes for this header into buf starting at offset buf_offset.
- getBytes(byte[], int, int).
Method in class sun.servlet.http.HttpDate
- Writes an RFC 1123 formatted date to the specified subarray of bytes.
- getComment().
Method in class sun.servlet.http.Cookie
- Returns the comment describing the purpose of this cookie, or
null if no such comment has been defined.
- getConnection().
Method in class sun.servlet.http.HttpServer
- Called by a connection handler to retrieve the next connection from
the queue.
- getContentLength().
Method in class sun.servlet.http.HttpInputStream
- Returns the content length for this input stream, or -1 if not set.
- getContentLength().
Method in class sun.servlet.http.HttpOutputStream
- Returns the content length for this output stream, or -1 if not set.
- getContentLength().
Method in class sun.servlet.http.HttpRequest
- Returns the size of the request entity data, or -1 if not known.
- getContentLength().
Method in interface javax.servlet.ServletRequest
- Returns the size of the request entity data, or -1 if not known.
- getContentType().
Method in class sun.servlet.http.HttpRequest
- Returns the Internet Media Type of the request entity data, or
null if not known.
- getContentType().
Method in interface javax.servlet.ServletRequest
- Returns the Internet Media Type of the request entity data, or
null if not known.
- getCookies(HttpServletRequest).
Static method in class sun.servlet.http.Cookie
- Returns all the cookies found in an HTTP request.
- getCurrentTime().
Static method in class sun.servlet.http.HttpDate
- Get the current time as number of milliseconds since the epoch.
- getDateHeader(String).
Method in class sun.servlet.http.HttpRequest
- Returns the value of a date header field, or -1 if not found.
- getDateHeader(String).
Method in interface javax.servlet.http.HttpServletRequest
- Returns the value of a date header field, or -1 if not found.
- getDateHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Returns the date value of a header with the specified name.
- getDateValue().
Method in class sun.servlet.http.MimeHeaderField
- Returns the date value of the header field.
- getDomain().
Method in class sun.servlet.http.Cookie
- Returns the domain of this cookie.
- getEntityBytes().
Method in class sun.servlet.http.HttpResponse
- Returns the size of the entity data for this response.
- getField(int).
Method in class sun.servlet.http.MimeHeaders
- Returns the Nth header field, or null if there is no such header.
- getFieldCount(String).
Method in class sun.servlet.http.MimeHeaders
- Returns the number of fields using a given field name.
- getHeader(int).
Method in class sun.servlet.http.MimeHeaders
- Returns the body of the nth header field where n >= 0.
- getHeader(String).
Method in class sun.servlet.http.HttpRequest
- Returns the value of a header field, or null if not known.
- getHeader(String).
Method in interface javax.servlet.http.HttpServletRequest
- Returns the value of a header field, or null if not known.
- getHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Returns the string value of one of the headers with the
specified name.
- getHeaderName(int).
Method in class sun.servlet.http.MimeHeaders
- Returns the name of the nth header field where n >= 0.
- getHeaderNames().
Method in class sun.servlet.http.HttpRequest
- Returns an enumeration of strings representing the header names
for this request.
- getHeaderNames().
Method in interface javax.servlet.http.HttpServletRequest
- Returns an enumeration of strings representing the header names
for this request.
- getHeaders().
Method in class sun.servlet.http.HttpRequest
- Returns the message header for this response.
- getHeaders().
Method in class sun.servlet.http.HttpResponse
- Returns the message header for this response.
- getHeaders(String).
Method in class sun.servlet.http.MimeHeaders
- Returns the string value of all of the headers with the
specified name.
- getHostName().
Static method in class sun.servlet.http.HttpServer
- Returns the host name of the server.
- getInitParameter(String).
Method in class javax.servlet.GenericServlet
- Returns a string containing the value of the named
initialization parameter, or null if the requested parameter
does not exist.
- getInitParameter(String).
Method in class sun.servlet.http.HttpServletConfig
- Gets an initialization parameter of the servlet.
- getInitParameter(String).
Method in interface javax.servlet.ServletConfig
-
Returns a string containing the value of the named
initialization parameter of the servlet, or null if the
parameter does not exist.
- getInitParameterNames().
Method in class javax.servlet.GenericServlet
- Returns the names of the servlet's initialization parameters as
an enumeration of strings, or an empty enumeration if there are
no initialization parameters.
- getInitParameterNames().
Method in class sun.servlet.http.HttpServletConfig
- Returns an enumeration of initialization parameters for the servlet.
- getInitParameterNames().
Method in interface javax.servlet.ServletConfig
- Returns the names of the servlet's initialization parameters
as an enumeration of strings, or an empty enumeration if there
are no initialization parameters.
- getInputStream().
Method in class sun.servlet.http.HttpRequest
- Returns an input stream for reading request data.
- getInputStream().
Method in class sun.servlet.http.HttpServerHandler
- Returns the input stream for reading from the connection.
- getInputStream().
Method in interface sun.servlet.ServletConnection
- Returns an input stream for reading from the connection.
- getInputStream().
Method in interface javax.servlet.ServletRequest
- Returns an input stream for reading the request body.
- getIntHeader(String).
Method in class sun.servlet.http.HttpRequest
- Returns the value of an integer header field, or -1 if not found.
- getIntHeader(String).
Method in interface javax.servlet.http.HttpServletRequest
- Returns the value of an integer header field, or -1 if not found.
- getIntHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Returns the integer value of a header with the specified name.
- getIntProperty(Properties, String, int).
Static method in class sun.servlet.http.HttpServer
- Returns the integer value of a property.
- getIntValue().
Method in class sun.servlet.http.MimeHeaderField
- Returns the integer value of the header field.
- getKeepAlive().
Method in class sun.servlet.http.HttpRequest
- Returns true if this connection should be kept alive.
- getKeepAlive().
Method in class sun.servlet.http.HttpResponse
- Returns true if this connection should be kept alive.
- getLastModified(HttpServletRequest).
Method in class javax.servlet.http.HttpServlet
- Returns the time the requested entity was last modified.
- getLength().
Method in class sun.servlet.http.MessageBytes
- Returns the length of the bytes.
- getMaxAge().
Method in class sun.servlet.http.Cookie
- Returns the maximum specified age of the cookie.
- getMethod().
Method in class sun.servlet.http.HttpRequest
- Returns the method with which the request was made.
- getMethod().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the method with which the request was made.
- getMimeType(String).
Method in class sun.servlet.http.HttpServer
- Returns the mime type of the specified file.
- getMimeType(String).
Method in interface javax.servlet.ServletContext
- Returns the mime type of the specified file, or null if not known.
- getName().
Method in class sun.servlet.http.Cookie
- Returns the name of the cookie.
- getName().
Method in class sun.servlet.http.MimeHeaderField
- Returns the header field name as a String.
- getOffset().
Method in class sun.servlet.http.MessageBytes
- Returns the start offset of the bytes.
- getOutputStream().
Method in class sun.servlet.http.HttpResponse
- Returns an output stream for writing response data.
- getOutputStream().
Method in class sun.servlet.http.HttpServerHandler
- Returns the output stream for writing to the connection.
- getOutputStream().
Method in interface sun.servlet.ServletConnection
- Returns an output stream for writing to the connection.
- getOutputStream().
Method in interface javax.servlet.ServletResponse
- Returns an output stream for writing response data.
- getParameter(String).
Method in class sun.servlet.http.HttpRequest
- Returns the value of the specified parameter for the request.
- getParameter(String).
Method in interface javax.servlet.ServletRequest
- Returns a string containing the lone value of the specified
parameter, or null if the parameter does not exist.
- getParameterNames().
Method in class sun.servlet.http.HttpRequest
- Returns an enumeration of strings representing the parameter names
for this request.
- getParameterNames().
Method in interface javax.servlet.ServletRequest
- Returns the parameter names for this request as an enumeration
of strings, or an empty enumeration if there are no parameters
or the input stream is empty.
- getParameterValues(String).
Method in class sun.servlet.http.HttpRequest
- Returns the value of the specified parameter for the request.
- getParameterValues(String).
Method in interface javax.servlet.ServletRequest
-
Returns the values of the specified parameter for the request as
an array of strings, or null if the named parameter does not
exist.
- getPath().
Method in class sun.servlet.http.Cookie
- Returns the prefix of all URLs for which this cookie is targetted.
- getPathInfo().
Method in class sun.servlet.http.HttpRequest
- Returns optional extra path information following the servlet path,
but immediately preceding the query string.
- getPathInfo().
Method in interface javax.servlet.http.HttpServletRequest
- Returns optional extra path information following the servlet
path, but immediately preceding the query string.
- getPathTranslated().
Method in class sun.servlet.http.HttpRequest
- Returns extra path information translated to a real file system path.
- getPathTranslated().
Method in interface javax.servlet.http.HttpServletRequest
- Returns extra path information translated to a real path.
- getProtocol().
Method in class sun.servlet.http.HttpRequest
- Returns the protocol and version of the request as a string of the
form <protocol>/<major version>.<minor version>.
- getProtocol().
Method in interface javax.servlet.ServletRequest
- Returns the protocol and version of the request as a string of
the form
<protocol>/<major version>.<minor
version>
.
- getQueryString().
Method in class sun.servlet.http.HttpRequest
- Returns the query string part of the servlet URI, or null if none.
- getQueryString().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the query string part of the servlet URI, or null if none.
- getRealPath(String).
Method in class sun.servlet.http.HttpRequest
- Applies alias rules to the specified virtual path and returns the
corresponding real path.
- getRealPath(String).
Method in class sun.servlet.http.HttpServer
- Returns the translated path for the specified virtual path.
- getRealPath(String).
Method in class sun.servlet.http.HttpServerHandler
- Returns the translated path for the specified virtual path.
- getRealPath(String).
Method in interface sun.servlet.ServletConnection
- Returns the specified path translated to a real path.
- getRealPath(String).
Method in interface javax.servlet.ServletContext
- Applies alias rules to the specified virtual path and returns the
corresponding real path.
- getRealPath(String).
Method in interface javax.servlet.ServletRequest
- Applies alias rules to the specified virtual path and returns
the corresponding real path, or null if the translation can not
be performed for any reason.
- getRemoteAddr().
Method in class sun.servlet.http.HttpRequest
- Returns the IP address of the agent that sent the request.
- getRemoteAddr().
Method in class sun.servlet.http.HttpServerHandler
- Returns the remote address of the socket connection.
- getRemoteAddr().
Method in interface sun.servlet.ServletConnection
- Returns the IP address of the agent that sent the request.
- getRemoteAddr().
Method in interface javax.servlet.ServletRequest
- Returns the IP address of the agent that sent the request.
- getRemoteHost().
Method in class sun.servlet.http.HttpRequest
- Returns the fully qualified host name of the agent that sent the
request.
- getRemoteHost().
Method in class sun.servlet.http.HttpServerHandler
- Returns the local port of the socket connection.
- getRemoteHost().
Method in interface sun.servlet.ServletConnection
-
Returns the fully qualified host name of the agent that sent the
request.
- getRemoteHost().
Method in interface javax.servlet.ServletRequest
- Returns the fully qualified host name of the agent that sent the
request.
- getRemoteUser().
Method in class sun.servlet.http.HttpRequest
- Returns the name of the user making this request, or null if not
known.
- getRemoteUser().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the name of the user making this request, or null if not
known.
- getRequestLine().
Method in class sun.servlet.http.HttpRequest
- Returns the request line bytes.
- getRequestPath().
Method in class sun.servlet.http.HttpRequest
- Returns the request path bytes.
- getRequestURI().
Method in class sun.servlet.http.HttpRequest
- Returns the request URI as string.
- getRequestURI().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the request URI as a URL object.
- getRequestURL(HttpServletRequest).
Static method in class javax.servlet.http.HttpUtils
- Reconstructs the URL used by the client used to make the
request.
- getScheme().
Method in class sun.servlet.http.HttpRequest
- Returns the scheme of the URL used to make this request, such
as "http" or "https".
- getScheme().
Method in interface javax.servlet.ServletRequest
- Returns the scheme of the URL used in this request, for example
"http", "https", or "ftp".
- getSecure().
Method in class sun.servlet.http.Cookie
- Returns the value of the 'secure' flag.
- getServerInfo().
Method in class sun.servlet.http.HttpServer
- Returns the name and version of the current server.
- getServerInfo().
Method in interface javax.servlet.ServletContext
- Returns the name and version of the network service under which
the servlet is running.
- getServerName().
Method in class sun.servlet.http.HttpRequest
- Returns the host name of the server that received the request.
- getServerName().
Method in class sun.servlet.http.HttpServerHandler
- Returns the host name of the server.
- getServerName().
Method in interface sun.servlet.ServletConnection
- Returns the host name of the server that received the request.
- getServerName().
Method in interface javax.servlet.ServletRequest
- Returns the host name of the server that received the request.
- getServerPort().
Method in class sun.servlet.http.HttpRequest
- Returns the port number on which this request was received.
- getServerPort().
Method in class sun.servlet.http.HttpServerHandler
- Returns the post number of the server.
- getServerPort().
Method in interface sun.servlet.ServletConnection
- Returns the port number on which this request was received.
- getServerPort().
Method in interface javax.servlet.ServletRequest
- Returns the port number on which this request was received.
- getServlet().
Method in class javax.servlet.UnavailableException
- Returns the servlet that is reporting its unavailability.
- getServlet(String).
Method in class sun.servlet.http.HttpServer
- Gets a servlet by name.
- getServlet(String).
Method in interface javax.servlet.ServletContext
- Returns the servlet of the specified name, or null if not
found.
- getServletConfig().
Method in class javax.servlet.GenericServlet
- Returns a servletConfig object containing any startup
configuration information for this servlet.
- getServletConfig().
Method in interface javax.servlet.Servlet
- Returns a servlet config object, which contains any
initialization parameters and startup configuration for this
servlet.
- getServletContext().
Method in class javax.servlet.GenericServlet
- Returns a ServletContext object, which contains information
about the network service in which the servlet is running.
- getServletContext().
Method in class sun.servlet.http.HttpServletConfig
- Returns the context for the servlet.
- getServletContext().
Method in interface javax.servlet.ServletConfig
- Returns the context for the servlet.
- getServletInfo().
Method in class javax.servlet.GenericServlet
- Returns a string that contains information about the servlet,
such as its author, version, and copyright.
- getServletInfo().
Method in interface javax.servlet.Servlet
- Returns a string containing information about the servlet, such as
its author, version, and copyright.
- getServletPath().
Method in class sun.servlet.http.HttpRequest
- Returns the part of the request URI that refers to the servlet
being invoked.
- getServletPath().
Method in interface javax.servlet.http.HttpServletRequest
- Returns the part of the request URI that refers to the servlet
being invoked.
- getServlets().
Method in class sun.servlet.http.HttpServer
- Enumerates the servlets in this server.
- getServlets().
Method in interface javax.servlet.ServletContext
- Returns an enumeration of the Servlet objects in this server.
- getServlets().
Method in class sun.servlet.ServletLoader
-
- getStatus().
Method in class sun.servlet.http.HttpResponse
- Returns the status code of the response.
- getTime().
Method in class sun.servlet.http.HttpDate
- Returns the time as number of milliseconds since the epoch.
- getTotal().
Method in class sun.servlet.http.HttpInputStream
- Returns the total number of bytes read so far.
- getTotal().
Method in class sun.servlet.http.HttpOutputStream
- Returns the total number of bytes written so far.
- getTotalBytes().
Method in class sun.servlet.http.HttpRequest
- Returns the total number of bytes for this request.
- getTotalBytes().
Method in class sun.servlet.http.HttpResponse
- Returns the total number of bytes for this response.
- getUnavailableSeconds().
Method in class javax.servlet.UnavailableException
- Returns the amount of time the servlet expects to be temporarily
unavailable.
- getValue().
Method in class sun.servlet.http.Cookie
- Returns the value of the cookie.
- getValue().
Method in class sun.servlet.http.MimeHeaderField
- Returns the header field value as a String, or null if not set.
- getVersion().
Method in class sun.servlet.http.Cookie
- Returns the version of the cookie.
- handleConnection(Socket).
Method in class sun.servlet.http.HttpServerHandler
- Handles a single connection from the client.
- handlers.
Variable in class sun.servlet.http.HttpServer
- The thread group for connection handlers.
- headerBytes.
Variable in class sun.servlet.http.HttpResponse
- The response header size in bytes.
- headers.
Variable in class sun.servlet.http.HttpRequest
- The MIME header fields for the request.
- headers.
Variable in class sun.servlet.http.HttpResponse
- The message headers for this response.
- help().
Static method in class sun.servlet.http.HttpServer
-
- host.
Variable in class sun.servlet.http.HttpServer
- The host name of the server.
- hour.
Variable in class sun.servlet.http.HttpDate
- Hours, 0-based
- HttpDate().
Constructor for class sun.servlet.http.HttpDate
- Creates a new HttpDate object.
- HttpDate(long).
Constructor for class sun.servlet.http.HttpDate
- Creates a new HttpDate object using the specified time.
- HttpInputStream().
Constructor for class sun.servlet.http.HttpInputStream
- Creates a new, uninitialized input stream using a default
buffer size.
- HttpInputStream(int).
Constructor for class sun.servlet.http.HttpInputStream
- Creates a new, uninitialized input stream using the specified
buffer size.
- HttpOutputStream().
Constructor for class sun.servlet.http.HttpOutputStream
- Creates a new, uninitialized servlet output stream with a default
buffer size.
- HttpOutputStream(int).
Constructor for class sun.servlet.http.HttpOutputStream
- Creates a new servlet output stream using the specified buffer size.
- HttpRequest().
Constructor for class sun.servlet.http.HttpRequest
- Creates a new HttpRequest object.
- HttpResponse().
Constructor for class sun.servlet.http.HttpResponse
- Creates a new HttpResponse object.
- HttpServer().
Constructor for class sun.servlet.http.HttpServer
- Creates a new HTTP server with default parameters.
- HttpServer(Properties).
Constructor for class sun.servlet.http.HttpServer
- Creates a new HTTP server with parameters from the specified properties.
- HttpServerHandler(HttpServer).
Constructor for class sun.servlet.http.HttpServerHandler
- Creates a new handler for the specified server.
- HttpServlet().
Constructor for class javax.servlet.http.HttpServlet
- The default constructor does nothing.
- HttpServletConfig(ServletContext, Properties).
Constructor for class sun.servlet.http.HttpServletConfig
-
- HttpServletConfig(ServletContext, String).
Constructor for class sun.servlet.http.HttpServletConfig
-
- HttpUtils().
Constructor for class javax.servlet.http.HttpUtils
-
- in.
Variable in class sun.servlet.http.HttpInputStream
- The actual input stream for this request.
- in.
Variable in class sun.servlet.http.HttpRequest
- The input stream for reading request data.
- init(InputStream).
Method in class sun.servlet.http.HttpInputStream
- Initializes the servlet input stream with the specified raw input stream.
- init(OutputStream).
Method in class sun.servlet.http.HttpOutputStream
- Initializes the output stream with the specified raw output stream.
- init(ServletConfig).
Method in class javax.servlet.GenericServlet
-
Initializes the servlet and logs the initialization.
- init(ServletConfig).
Method in interface javax.servlet.Servlet
- Initializes the servlet.
- init(ServletConnection).
Method in class sun.servlet.http.HttpRequest
- Initializes the request using the specified servlet connection.
- init(ServletConnection).
Method in class sun.servlet.http.HttpResponse
- Initializes this response with the specified servlet connection.
- intValue.
Variable in class sun.servlet.http.MimeHeaderField
- The header field integer value.
- InvalidRequestException().
Constructor for class sun.servlet.http.InvalidRequestException
- Constructs an exception with no detail message.
- InvalidRequestException(String).
Constructor for class sun.servlet.http.InvalidRequestException
- Constructs an invalid request exception with the specified detail
message.
- isCommitted().
Method in class sun.servlet.http.HttpOutputStream
- Returns whether the output has been committed or not.
- isFullRequest().
Method in class sun.servlet.http.HttpRequest
- Returns true if this is a full (i.e.
- isLeapYear(int).
Static method in class sun.servlet.http.HttpDate
- Returns true if the specified year is a leap year.
- isPermanent().
Method in class javax.servlet.UnavailableException
- Returns true if the servlet is "permanently" unavailable,
indicating that the service administrator must take some
corrective action to make the servlet be usable.
- isProxyRequest().
Method in class sun.servlet.http.HttpRequest
- Returns true if this is a proxy request.
- isSet().
Method in class sun.servlet.http.MessageBytes
- Returns true if the message bytes have been set.
- isSet().
Method in class sun.servlet.http.MessageString
- Returns true if the message string is set.
- keepAlive.
Variable in class sun.servlet.http.HttpRequest
- Set to true if the connection should be kept alive.
- keepAlive.
Variable in class sun.servlet.http.HttpResponse
- Set to true when keep-alive is enabled.
- length.
Variable in class sun.servlet.http.HttpInputStream
- The content length for this request.
- length.
Variable in class sun.servlet.http.HttpOutputStream
- The content length for this stream.
- length.
Variable in class sun.servlet.http.HttpRequest
- The content length for this request.
- length.
Variable in class sun.servlet.http.MessageBytes
- The length of the bytes.
- length().
Method in class sun.servlet.http.MessageBytes
- Returns the length of the message bytes.
- length().
Method in class sun.servlet.http.MessageString
- Returns the length of the message string.
- limit.
Variable in class sun.servlet.http.HttpInputStream
- The maximum number of bytes for the current request.
- limit.
Variable in class sun.servlet.http.HttpOutputStream
- The maximum number of bytes that can be written.
- line.
Variable in class sun.servlet.http.HttpRequest
- The request line.
- loadClass(String, boolean).
Method in class sun.servlet.ServletLoader
- Returns the Class for the specified class name.
- loadClass(String, String).
Method in class sun.servlet.ServletLoader
-
- loader.
Variable in class sun.servlet.http.HttpServer
- The servlet loader.
- loadProperties(Properties).
Method in class sun.servlet.http.HttpServer
- Loads parameters from the specified properties.
- loadServlet(String, ServletConfig).
Method in class sun.servlet.ServletLoader
-
- log(String).
Method in class javax.servlet.GenericServlet
-
Writes the class name of the servlet and the given message to
the servlet log file.
- log(String).
Method in class sun.servlet.http.HttpServer
- Writes a message to the servlet log.
- log(String).
Method in interface javax.servlet.ServletContext
- Writes the given message string to the servlet log file.
- main(String[]).
Static method in class sun.servlet.http.HttpServer
- Runs the HTTP server.
- maxHandlers.
Variable in class sun.servlet.http.HttpServer
- The maximum number of handler threads.
- mday.
Variable in class sun.servlet.http.HttpDate
- Day of the month, 1-based
- MessageBytes().
Constructor for class sun.servlet.http.MessageBytes
- Creates a new, uninitialized MessageBytes object.
- MessageBytes(byte[], int, int).
Constructor for class sun.servlet.http.MessageBytes
- Creates a new MessageBytes object with the specified bytes.
- MessageString().
Constructor for class sun.servlet.http.MessageString
- Creates a new, uninitialized message string.
- MessageString(byte[], int, int).
Constructor for class sun.servlet.http.MessageString
- Creates a new message string with the specified bytes.
- MessageString(String).
Constructor for class sun.servlet.http.MessageString
- Creates a new message string with the specified String object.
- MimeHeaderField().
Constructor for class sun.servlet.http.MimeHeaderField
- Creates a new, uninitialized header field.
- MimeHeaders().
Constructor for class sun.servlet.http.MimeHeaders
- Creates a new MimeHeaders object using a default buffer size.
- MimeHeaders(int).
Constructor for class sun.servlet.http.MimeHeaders
- Creates a new MimeHeaders object using the specified buffer size.
- min.
Variable in class sun.servlet.http.HttpDate
- Minutes, 0-based
- mon.
Variable in class sun.servlet.http.HttpDate
- Month, 0-based
- months.
Static variable in class sun.servlet.http.HttpDate
- Months of the year.
- name.
Variable in class sun.servlet.http.HttpServer
- The name of the server.
- name.
Variable in class sun.servlet.http.MimeHeaderField
- The header field name.
- nameEquals(byte[], int, int).
Method in class sun.servlet.http.MimeHeaderField
- Returns true if the header field has the specified name.
- nameEquals(String).
Method in class sun.servlet.http.MimeHeaderField
- Returns true if the header field has the specified name.
- names().
Method in class sun.servlet.http.MimeHeaders
- Returns an enumeration of strings representing the header field names.
- next().
Method in class sun.servlet.http.HttpInputStream
- Begins reading the next request.
- next().
Method in class sun.servlet.http.HttpOutputStream
- Begins the next response.
- next().
Method in class sun.servlet.http.HttpRequest
- Reads the next request from the current connection.
- next().
Method in class sun.servlet.http.HttpResponse
- Begins the next response.
- obs.
Variable in class sun.servlet.http.HttpOutputStream
- The observer that will be notified when the stream is first written.
- offset.
Variable in class sun.servlet.http.MessageBytes
- The start offset of the bytes.
- out.
Variable in class sun.servlet.http.HttpOutputStream
- The actual output stream.
- out.
Variable in class sun.servlet.http.HttpResponse
- The output stream for writing response data.
- outHeader.
Variable in class sun.servlet.http.HttpResponse
- The output stream for writing headers.
- params.
Variable in class sun.servlet.http.HttpRequest
- The dictionary that represents the name/values pairs
for parameters passed in the request.
- parse(byte[], int, int).
Method in class sun.servlet.http.HttpDate
- Parses an RFC 1123, RFC 1036, or ANSI C asctime() format date string
from the specified byte array.
- parse(byte[], int, int).
Method in class sun.servlet.http.MimeHeaderField
- Parses a header field from a subarray of bytes.
- parse(String).
Method in class sun.servlet.http.HttpDate
- Parses an RFC 1123, RFC 1036, or ANSI C asctime() format date string
from the specified string.
- parsePath(MessageBytes, HttpRequest).
Method in class sun.servlet.http.HttpServerHandler
- Parses a servlet path.
- parsePostData(int, ServletInputStream).
Static method in class javax.servlet.http.HttpUtils
-
Parses FORM data that is posted to the server using the HTTP
POST method and the application/x-www-form-urlencoded mime
type.
- parseQueryString(String).
Static method in class javax.servlet.http.HttpUtils
- Parses a query string and builds a hashtable of key, value pairs.
- pathInfo.
Variable in class sun.servlet.http.HttpRequest
- The path info for the request.
- port.
Variable in class sun.servlet.http.HttpServer
- The server port number.
- pos.
Variable in class sun.servlet.http.HttpInputStream
- The current position in the buffer.
- PREFIX.
Static variable in class sun.servlet.http.HttpServerHandler
- The URL prefix for invoking servlets.
- PREFIX_LEN.
Static variable in class sun.servlet.http.HttpServerHandler
- The servlet URL prefix length.
- print(boolean).
Method in class javax.servlet.ServletOutputStream
- Prints the boolean provided.
- print(char).
Method in class javax.servlet.ServletOutputStream
-
- print(double).
Method in class javax.servlet.ServletOutputStream
- Prints the double provided.
- print(float).
Method in class javax.servlet.ServletOutputStream
- Prints the float provided.
- print(HttpDate).
Method in class sun.servlet.http.HttpOutputStream
- Prints an HttpDate object.
- print(int).
Method in class javax.servlet.ServletOutputStream
- Prints the integer provided.
- print(long).
Method in class javax.servlet.ServletOutputStream
- Prints the long provided.
- print(String).
Method in class sun.servlet.http.HttpOutputStream
- Prints a string.
- print(String).
Method in class javax.servlet.ServletOutputStream
- Prints the string provided.
- println().
Method in class javax.servlet.ServletOutputStream
- Prints a CRLF.
- println(boolean).
Method in class javax.servlet.ServletOutputStream
- Prints the boolean provided, followed by a CRLF.
- println(char).
Method in class javax.servlet.ServletOutputStream
-
- println(double).
Method in class javax.servlet.ServletOutputStream
- Prints the double provided, followed by a CRLF.
- println(float).
Method in class javax.servlet.ServletOutputStream
- Prints the float provided, followed by a CRLF.
- println(int).
Method in class javax.servlet.ServletOutputStream
- Prints the integer provided, followed by a CRLF.
- println(long).
Method in class javax.servlet.ServletOutputStream
-
Prints the long provided, followed by a CRLF.
- println(String).
Method in class javax.servlet.ServletOutputStream
- Prints the string provided, followed by a CRLF.
- printSettings().
Method in class sun.servlet.http.HttpServer
-
- protocol.
Variable in class sun.servlet.http.HttpResponse
- The protocol of the response.
- putConnection(Object).
Method in class sun.servlet.http.HttpServer
- Places the specified connection object on the queue of pending
connections.
- putDateHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Creates a new header field whose value is the current date and time.
- putDateHeader(String, long).
Method in class sun.servlet.http.MimeHeaders
- Creates a new header field whose value is the specified time.
- putHeader().
Method in class sun.servlet.http.MimeHeaders
- Adds a partially constructed field to the header.
- putHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Finds a header field given name.
- putHeader(String, String).
Method in class sun.servlet.http.MimeHeaders
- Creates a new header field whose value is the specified string.
- putIntHeader(String, int).
Method in class sun.servlet.http.MimeHeaders
- Creates a new header field whose value is the specified integer.
- read().
Method in class sun.servlet.http.HttpInputStream
- Reads a byte of data.
- read(byte[], int, int).
Method in class sun.servlet.http.HttpInputStream
- Reads into an array of bytes.
- read(ServletInputStream).
Method in class sun.servlet.http.MimeHeaders
- Reads header fields from the specified servlet input stream until
a blank line is encountered.
- readLine(byte[], int, int).
Method in class sun.servlet.http.HttpInputStream
- Reads into an array of bytes until all requested bytes have been
read or a '\n' is encountered, in which case the '\n' is read into
the array as well.
- readLine(byte[], int, int).
Method in class javax.servlet.ServletInputStream
- Starting at the specified offset, reads into the given array of
bytes until all requested bytes have been read or a '\n' is
encountered, in which case the '\n' is read into the array as well.
- reason.
Variable in class sun.servlet.http.HttpResponse
- The status message of the response.
- reason(int).
Method in class sun.servlet.http.HttpResponse
- Returns a default reason phrase for the specified status code.
- remoteUser.
Variable in class sun.servlet.http.HttpRequest
- The remote user for the request.
- removeHeader(String).
Method in class sun.servlet.http.MimeHeaders
- Removes a header field with the specified name.
- req.
Variable in class sun.servlet.http.HttpServerHandler
- The servlet request.
- res.
Variable in class sun.servlet.http.HttpServerHandler
- The servlet response.
- reset().
Method in class sun.servlet.http.HttpRequest
- Resets the servlet request.
- reset().
Method in class sun.servlet.http.HttpResponse
- Resets the servlet response.
- reset().
Method in class sun.servlet.http.MessageBytes
- Resets the message bytes to an uninitialized state.
- reset().
Method in class sun.servlet.http.MessageString
- Resets the message string to an uninitialized state.
- reset().
Method in class sun.servlet.http.MimeHeaderField
- Resets the header field to an uninitialized state.
- resets().
Method in class sun.servlet.http.HttpInputStream
- Resets the input stream for a new connection.
- resets().
Method in class sun.servlet.http.HttpOutputStream
- Resets the output stream for a new connection.
- run().
Method in class sun.servlet.http.HttpServer
- Runs the servlet server.
- run().
Method in class sun.servlet.http.HttpServerHandler
- Runs the connection handler.
- saveCookie(HttpServletResponse).
Method in class sun.servlet.http.Cookie
- Uses the given HTTP response message to assign a new value to
a session-specific cookie.
- SC_ACCEPTED.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (202) indicating that a request was accepted for
processing, but was not completed.
- SC_BAD_GATEWAY.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (502) indicating that the HTTP server received an
invalid response from a server it consulted when acting as a
proxy or gateway.
- SC_BAD_REQUEST.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (400) indicating the request sent by the client was
syntactically incorrect.
- SC_CREATED.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (201) indicating the request succeeded and created
a new resource on the server.
- SC_FORBIDDEN.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (403) indicating the server understood the request
but refused to fulfill it.
- SC_INTERNAL_SERVER_ERROR.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (500) indicating an error inside the HTTP service
which prevented it from fulfilling the request.
- SC_MOVED_PERMANENTLY.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (301) indicating that the resource has permanently
moved to a new location, and that future references should use a
new URI with their requests.
- SC_MOVED_TEMPORARILY.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (302) indicating that the resource has temporarily
moved to another location, but that future references should
still use the original URI to access the resource.
- SC_NO_CONTENT.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (204) indicating that the request succeeded but that
there was no new information to return.
- SC_NOT_FOUND.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (404) indicating that the requested resource is not
available.
- SC_NOT_IMPLEMENTED.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (501) indicating the HTTP service does not support
the functionality needed to fulfill the request.
- SC_NOT_MODIFIED.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (304) indicating that a conditional GET operation
found that the resource was available and not modified.
- SC_OK.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (200) indicating the request succeeded normally.
- SC_SERVICE_UNAVAILABLE.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (503) indicating that the HTTP service is
temporarily overloaded, and unable to handle the request.
- SC_UNAUTHORIZED.
Static variable in interface javax.servlet.http.HttpServletResponse
- Status code (401) indicating that the request requires HTTP
authentication.
- sec.
Variable in class sun.servlet.http.HttpDate
- Seconds, 0-based
- SECS_PER_DAY.
Static variable in class sun.servlet.http.HttpDate
-
- SECS_PER_HOUR.
Static variable in class sun.servlet.http.HttpDate
-
- SECS_PER_MIN.
Static variable in class sun.servlet.http.HttpDate
-
- sendError(int).
Method in class sun.servlet.http.HttpResponse
- Sends an error response to the client using the specified status
code and no default message.
- sendError(int).
Method in interface javax.servlet.http.HttpServletResponse
- Sends an error response to the client using the specified
status code and a default message.
- sendError(int, String).
Method in class sun.servlet.http.HttpResponse
- Sends an error response to the client using the specified status
code and detail message.
- sendError(int, String).
Method in interface javax.servlet.http.HttpServletResponse
- Sends an error response to the client using the specified status
code and descriptive message.
- sendRedirect(String).
Method in class sun.servlet.http.HttpResponse
- Sends a redirect response to the client using the specified redirect
location URL.
- sendRedirect(String).
Method in interface javax.servlet.http.HttpServletResponse
- Sends a redirect response to the client using the specified
redirect location URL.
- sendResponse(HttpRequest, HttpResponse).
Method in class sun.servlet.http.HttpServerHandler
- Sends a response to the client.
- server.
Variable in class sun.servlet.http.HttpServerHandler
- The server for this handler.
- service(HttpServletRequest, HttpServletResponse).
Method in class javax.servlet.http.HttpServlet
- This is an HTTP-specific version of the Servlet.service method,
which accepts HTTP specific parameters.
- service(ServletRequest, ServletResponse).
Method in class javax.servlet.GenericServlet
-
Carries out a single request from the client.
- service(ServletRequest, ServletResponse).
Method in class javax.servlet.http.HttpServlet
- Implements the high level Servlet.service method by delegating
to the HTTP-specific service method.
- service(ServletRequest, ServletResponse).
Method in interface javax.servlet.Servlet
- Carries out a single request from the client.
- servletDir.
Variable in class sun.servlet.http.HttpServer
- The directory where servlets are stored.
- ServletException(String).
Constructor for class javax.servlet.ServletException
- Constructs a new ServletException with the specified
descriptive message.
- ServletInputStream().
Constructor for class javax.servlet.ServletInputStream
- The default constructor does no work.
- ServletLoader(String).
Constructor for class sun.servlet.ServletLoader
-
- ServletOutputStream().
Constructor for class javax.servlet.ServletOutputStream
- The default constructor does no work.
- servletPath.
Variable in class sun.servlet.http.HttpRequest
- The servlet path for the request.
- servletPropFile.
Variable in class sun.servlet.http.HttpServer
- The filename which contains servlet properties
- servletProps.
Variable in class sun.servlet.http.HttpServer
- The properties list that decribes servlet aliases and init args
- servlets.
Variable in class sun.servlet.ServletLoader
-
- setAuthType(byte[], int, int).
Method in class sun.servlet.http.HttpRequest
- Sets the authentication scheme of the request to the specified bytes.
- setAuthType(String).
Method in class sun.servlet.http.HttpRequest
- Sets the authentication scheme of the request to the specified String.
- setBytes(byte[], int, int).
Method in class sun.servlet.http.MessageBytes
- Sets the message bytes to the specified subarray of bytes.
- setBytes(byte[], int, int).
Method in class sun.servlet.http.MessageString
- Sets the message string to the specified bytes.
- setComment(String).
Method in class sun.servlet.http.Cookie
- If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described using this comment.
- setContentLength(int).
Method in class sun.servlet.http.HttpInputStream
- Sets the content length for this input stream.
- setContentLength(int).
Method in class sun.servlet.http.HttpOutputStream
- Sets the content length for this output stream.
- setContentLength(int).
Method in class sun.servlet.http.HttpResponse
- Defines the content length for this response.
- setContentLength(int).
Method in interface javax.servlet.ServletResponse
- Sets the content length for this response.
- setContentType(String).
Method in class sun.servlet.http.HttpResponse
- Defines the content type for this response.
- setContentType(String).
Method in interface javax.servlet.ServletResponse
- Sets the content type for this response.
- setDateHeader(String).
Method in class sun.servlet.http.HttpResponse
- Adds a date header to the current time.
- setDateHeader(String, long).
Method in class sun.servlet.http.HttpResponse
- Adds a date header with the specified time.
- setDateHeader(String, long).
Method in interface javax.servlet.http.HttpServletResponse
-
Adds a field to the response header with a given name and
date-valued field.
- setDateValue().
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field date value to the current time.
- setDateValue(long).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field date value to the specified time.
- setDomain(String).
Method in class sun.servlet.http.Cookie
- This cookie should be presented only to hosts satisfying this domain
name pattern.
- setHeader(byte[]).
Method in class sun.servlet.http.HttpOutputStream
-
- setHeader(byte[], int, int).
Method in class sun.servlet.http.HttpOutputStream
-
- setHeader(String, String).
Method in class sun.servlet.http.HttpRequest
- Sets the value of a header field to the specified String.
- setHeader(String, String).
Method in class sun.servlet.http.HttpResponse
- Adds a header field with the specified string value.
- setHeader(String, String).
Method in interface javax.servlet.http.HttpServletResponse
-
Adds a field to the response header with a given name and
value.
- setIntHeader(String, int).
Method in class sun.servlet.http.HttpResponse
- Adds a header field with the specified integer value.
- setIntHeader(String, int).
Method in interface javax.servlet.http.HttpServletResponse
-
Adds a field to the response header with a given name and
integer value.
- setIntValue(int).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field to the specified integer value.
- setIOException(IOException).
Method in class sun.servlet.http.HttpOutputStream
- Sets the pending IOException for this output stream.
- setKeepAlive(boolean).
Method in class sun.servlet.http.HttpRequest
- Used to indicate whether this connection should be kept alive.
- setKeepAlive(boolean).
Method in class sun.servlet.http.HttpResponse
- Used to indicate whether this connection should be kept alive.
- setMaxAge(int).
Method in class sun.servlet.http.Cookie
- Sets the maximum age of the cookie.
- setName(byte[], int, int).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field name to the specified subarray of bytes.
- setName(String).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field name to the specified string.
- setObserver(Observer).
Method in class sun.servlet.http.HttpOutputStream
- Sets an observer for this output stream.
- setPath(String).
Method in class sun.servlet.http.Cookie
- This cookie should be presented only with requests beginning
with this URL.
- setPathInfo(byte[], int, int).
Method in class sun.servlet.http.HttpRequest
- Sets the path info for the request to the specified bytes.
- setPathInfo(String).
Method in class sun.servlet.http.HttpRequest
- Sets the path info for the request to the specified string.
- setProtocol(String).
Method in class sun.servlet.http.HttpResponse
- Sets the protocol of the response.
- setRemoteUser(byte[], int, int).
Method in class sun.servlet.http.HttpRequest
- Sets the name of the user making this request to the specified bytes.
- setRemoteUser(String).
Method in class sun.servlet.http.HttpRequest
- Sets the name of the user making this request to the specified String.
- setRequest(HttpRequest).
Method in class sun.servlet.http.HttpRequest
-
- setSecure(boolean).
Method in class sun.servlet.http.Cookie
- Indicates to the user agent that the cookie should only be sent
using a secure protocol (https).
- setServletPath(byte[], int, int).
Method in class sun.servlet.http.HttpRequest
- Sets the servlet path for the request to the specified bytes.
- setServletPath(String).
Method in class sun.servlet.http.HttpRequest
- Sets the servlet path for the request to the specified string.
- setStatus(int).
Method in class sun.servlet.http.HttpResponse
- Sets the status code and a default message for this response.
- setStatus(int).
Method in interface javax.servlet.http.HttpServletResponse
- Sets the status code and a default message for this response.
- setStatus(int, String).
Method in class sun.servlet.http.HttpResponse
- Sets the status code and message for this response.
- setStatus(int, String).
Method in interface javax.servlet.http.HttpServletResponse
- Sets the status code and message for this response.
- setString(String).
Method in class sun.servlet.http.MessageString
- Sets the message string to the specified String.
- setTime().
Method in class sun.servlet.http.HttpDate
- Sets this HttpDate to the current time.
- setTime(long).
Method in class sun.servlet.http.HttpDate
- Sets this HttpDate to the specified time.
- setValue(byte[], int, int).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field value to the specified subarray of bytes.
- setValue(String).
Method in class sun.servlet.http.Cookie
- Sets the value of the cookie.
- setValue(String).
Method in class sun.servlet.http.MimeHeaderField
- Sets the header field value to the specified string.
- setVersion(int).
Method in class sun.servlet.http.Cookie
- Sets the version of the cookie protocol used when this cookie saves
itself.
- size().
Method in class sun.servlet.http.MimeHeaders
- Returns the current number of header fields.
- skip(long).
Method in class sun.servlet.http.HttpInputStream
- Skips n bytes of input.
- socket.
Variable in class sun.servlet.http.HttpServerHandler
- The current socket connection.
- startsWith(String).
Method in class sun.servlet.http.MessageBytes
- Returns true if the message bytes starts with the specified string.
- startsWith(String).
Method in class sun.servlet.http.MessageString
- Returns true if the message string starts with the specified string.
- status.
Variable in class sun.servlet.http.HttpResponse
- The status code of the response.
- str.
Variable in class sun.servlet.http.MessageString
- The message String.
- T_DATE.
Static variable in class sun.servlet.http.MimeHeaderField
-
- T_INT.
Static variable in class sun.servlet.http.MimeHeaderField
-
- T_NULL.
Static variable in class sun.servlet.http.MimeHeaderField
-
- T_STR.
Static variable in class sun.servlet.http.MimeHeaderField
-
- timeout.
Variable in class sun.servlet.http.HttpServer
- The handler timeout in milliseconds.
- toBytes(String).
Static method in class sun.servlet.http.HttpDate
- Converts the specified string to an array of ascii bytes.
- toDate(HttpDate).
Method in class sun.servlet.http.MessageBytes
- Returns the message bytes parsed as a date.
- toDate(HttpDate).
Method in class sun.servlet.http.MessageString
- Returns the message string parsed as a date.
- toInteger().
Method in class sun.servlet.http.MessageBytes
- Returns the message bytes parsed as an unsigned integer.
- toInteger().
Method in class sun.servlet.http.MessageString
- Returns the message string parsed as an unsigned integer.
- toString().
Method in class sun.servlet.http.HttpDate
- Returns a string representation of the date.
- toString().
Method in class sun.servlet.http.MessageBytes
- Returns the message bytes as a String object.
- toString().
Method in class sun.servlet.http.MessageString
- Returns the message string as a String object.
- toString().
Method in class sun.servlet.http.MimeHeaderField
- Returns a string representation of the header field.
- toString().
Method in class sun.servlet.http.MimeHeaders
- Returns a lengthly string representation of the current header fields.
- total.
Variable in class sun.servlet.http.HttpInputStream
- The total number of bytes for the current request.
- total.
Variable in class sun.servlet.http.HttpOutputStream
- The total number of bytes written so far.
- total.
Variable in class sun.servlet.http.HttpServer
- The total number of active handlers.
- type.
Variable in class sun.servlet.http.MimeHeaderField
- The header field value type.
- UnavailableException(int, Servlet, String).
Constructor for class javax.servlet.UnavailableException
- Constructs a new exception with the specified descriptive message,
indicating that the servlet is temporarily unavailable and giving
an estimate of how long it will be unavailable.
- UnavailableException(Servlet, String).
Constructor for class javax.servlet.UnavailableException
-
Constructs a new exception with the specified descriptive
message, indicating that the servlet is permanently
unavailable.
- update(Observable, Object).
Method in class sun.servlet.http.HttpResponse
- This method is called for a full request when the servlet first writes
to the output stream.
- updater.
Static variable in class sun.servlet.http.HttpDate
- Maintains updated current time.
- value.
Variable in class sun.servlet.http.MimeHeaderField
- The header field value.
- verbose.
Variable in class sun.servlet.http.HttpServer
- Set to true for verbose output.
- wday.
Variable in class sun.servlet.http.HttpDate
- Weekday: Sun = 0, Sat = 6
- write(byte[], int, int).
Method in class sun.servlet.http.HttpOutputStream
- Writes an array of bytes.
- write(int).
Method in class sun.servlet.http.HttpOutputStream
- Writes a byte.
- write(OutputStream).
Method in class sun.servlet.http.HttpDate
- Writes an RFC 1123 formatted date to the specified output stream.
- write(OutputStream).
Method in class sun.servlet.http.MessageBytes
- Writes the message bytes to the specified output stream.
- write(ServletOutputStream).
Method in class sun.servlet.http.MessageString
- Writes the message string to the specified servlet output stream.
- write(ServletOutputStream).
Method in class sun.servlet.http.MimeHeaderField
- Writes this header field to the specified servlet output stream.
- write(ServletOutputStream).
Method in class sun.servlet.http.MimeHeaders
- Writes out header fields to the specified servlet output stream.
- writeHeaders().
Method in class sun.servlet.http.HttpResponse
-
- writeOut(byte[], int, int).
Method in class sun.servlet.http.HttpOutputStream
-
- year.
Variable in class sun.servlet.http.HttpDate
- Years since 1900